package packet.impl;

import lombok.Data;
import lombok.EqualsAndHashCode;
import packet.AbstractPacket;

import static constant.Command.LOGIN_REQUEST;

/**
 * @author zy.jordan
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginRequestAbstractPacket extends AbstractPacket {
  private String userId;
  private String userName;
  private String password;

  @Override
  public Byte getCommand() {
    return LOGIN_REQUEST;
  }
}
